<template>
	<view class="box">
		{{ text }}
	</view>
</template>

<script setup>
	import {
		ref,
		onMounted
	} from 'vue'
	import user from '@/api/user.js'
	onMounted(() => {
		aboutUs()
	})
	const text = ref({})
	const aboutUs = async () => {
		const {
			status,
			info,
			data
		} = await user.aboutUs()
		if (status == 1) {
			text.value = data
		}
	}
</script>

<style scoped lang="scss">
	.box {
		margin: 26rpx;
		background: #FFFFFF;
		box-shadow: 0rpx 8rpx 16rpx 0rpx rgba(128, 128, 128, 0.06);
		border-radius: 32rpx;
		padding: 30rpx;
		box-sizing: border-box;
		white-space: pre-line;
	}
</style>